package com.lovo.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.project.bean.BuyInGoodsBean;
import com.lovo.project.mapper.BuyInGoodsMapper;
import com.lovo.project.service.BuyInGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BuyInGoodsServiceImpl extends ServiceImpl<BuyInGoodsMapper, BuyInGoodsBean> implements BuyInGoodsService {

    @Autowired
    BuyInGoodsMapper buyInGoodsMapper;

    @Override
    public List<BuyInGoodsBean> queryBuyInGoodsList(QueryWrapper queryWrapper) {
        List<BuyInGoodsBean> list=   buyInGoodsMapper.selectList(queryWrapper);
        return list;
    }
}
